package com.dream.dto.console;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * @description:単个账户设置
 * @author: bushuai
 * @date: 2019/12/2 11:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRole implements Serializable {

    @NotEmpty
    @ApiModelProperty("群号id")
    private String groupId;

    @NotEmpty
    @ApiModelProperty("群成员id")
    private String memberId;

    @ApiModelProperty("角色集合:1摸包号；2管理员3黑名単4拖号5兔死号")
    private List<Integer> roles;
}
